# coding=utf-8
"""
author = jamon
"""

DEFAULT_ID = 0  # 默认的消息处理
CLIENT_OFFLINE = 999   # 连接断开
FRAME_SYNC = 19990     # 帧同步


class ConnectionStatus(object):
    ESTABLISHED = 1    # 连接已建立
    LOSE = 2           # 连接断开


class RpcMsgType(object):
    """消息类型"""
    REQUEST = 1   # 请求
    RESPONSE = 2  # 响应
    NOTIFY = 3    # 通知（无需回应）
